package pl.edu.pw.elka.tinyrepo.client.common;

/**
 * 
 * @author Anna Stępień
 * @version 14-12-2011
 *
 */
public class IncomingFile implements IncomingObject
{
	private String contentType;
	private byte[] data;
	
	public IncomingFile(final String contentType, final byte[] data)
	{
		this.contentType = contentType;
		this.data = data;
	}

	@Override
	public String getContentLength()
	{
		return contentType;
	}
	
	public byte[] getData()
	{
		return data;
	}
	
}
